-
-
Notifications
You must be signed in to change notification settings - Fork 730
Install built doc to SAGE_DOC #40807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
|
Documentation preview for this PR (built with commit f7cafd3; changes) is ready! 🎉 |
|
IMO it would be better to do this at the meson level (with That being said, this change only affects sage-the-distro so I have no objection as a temporary stopgap. |
src/doc/Makefile
Outdated
| doc-html: | ||
| meson compile -C ../../build/sage-distro doc-html | ||
| mkdir -p $(SAGE_DOC) | ||
| cp -rf ../../build/sage-distro/src/doc/html $(SAGE_DOC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does SAGE_DOC points to on your system, i.e. where do those docs end up in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sage-the-distro, it is local/share/doc at sage root by default. The Makefile runs after environment variables for sage-the-distro are setup.
Yes. Then
Yes. |
13be91e to
f7cafd3
Compare
|
Strangely, |
|
There must have been some confusion on my side. I tested again. It works well. Ready to go. |
|
Anything else? |
f7cafd3 to
aed9e8b
Compare
|
Now the built doc is not copied but links to the doc are installed in appropriate places. This works well with the sage-distro. |
This is a solution for https://groups.google.com/g/sage-devel/c/IVo1EI33CyU, alternative to #40798.
With this PR
installs the built doc to the expected location (set by SAGE_DOC). The same with
📝 Checklist
⌛ Dependencies